|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface GPRegistryEntry
This defines the interface corresponding to the GPRegistryEntry of a single Application.
The Global Service Application uses this interface to check the validity of the request presented
by an on-card entity.
Prior to using this interface, an Application is required to obtain a handle to the GPRegistryEntry of an
Application by invoking the GPSystem.getRegistryEntry() method.
| Field Summary | |
|---|---|
static byte |
PRIVILEGE_AUTHORIZED_MANAGEMENT
Privilege indicating Authorized Management (0x09). |
static byte |
PRIVILEGE_CARD_LOCK
Privilege indicating Card Lock (0x03). |
static byte |
PRIVILEGE_CARD_RESET
Privilege indicating Card Reset (0x05). |
static byte |
PRIVILEGE_CARD_TERMINATE
Privilege indicating Card Terminate (0x04). |
static byte |
PRIVILEGE_CIPHERED_LOAD_FILE_DATA_BLOCK
Privilege indicating Ciphered Load File Data Block (0x11). |
static byte |
PRIVILEGE_CVM_MANAGEMENT
Privilege indicating CVM Management (0x06). |
static byte |
PRIVILEGE_DAP_VERIFICATION
Privilege indicating DAP verification (0x01). |
static byte |
PRIVILEGE_DELEGATED_MANAGEMENT
Privilege indicating Delegated Management (0x02). |
static byte |
PRIVILEGE_FINAL_APPLICATION
Privilege indicating Final Application (0x0E). |
static byte |
PRIVILEGE_GLOBAL_DELETE
Privilege indicating Global Delete (0x0B). |
static byte |
PRIVILEGE_GLOBAL_LOCK
Privilege indicating Global Lock (0x0C). |
static byte |
PRIVILEGE_GLOBAL_REGISTRY
Privilege indicating Global Registry (0x0D). |
static byte |
PRIVILEGE_GLOBAL_SERVICE
Privilege indicating Global Service (0x0F). |
static byte |
PRIVILEGE_MANDATED_DAP
Privilege indicating Mandated DAP verification privilege (0x07). |
static byte |
PRIVILEGE_RECEIPT_GENERATION
Privilege indicating Receipt Generation (0x10). |
static byte |
PRIVILEGE_SECURITY_DOMAIN
Privilege indicating application is a Security Domain (0x00). |
static byte |
PRIVILEGE_TOKEN_VERIFICATION
Privilege indicating Token Verification (0x0A). |
static byte |
PRIVILEGE_TRUSTED_PATH
Privilege indicating Trusted Path (0x08). |
| Method Summary | |
|---|---|
void |
deregisterService(short sServiceName)
This method allows a Global Services Application (e.g. a CVM Application) to deregister a service name. |
javacard.framework.AID |
getAID()
This method returns the Application's AID registered in the current GlobalPlatform Registry's entry. |
short |
getPrivileges(byte[] baBuffer,
short sOffset)
This method returns all the Privileges bytes registered in the current GlobalPlatform registry entry. |
byte |
getState()
This method returns the Life Cycle State registered in the current GlobalPlatform Registry entry. |
boolean |
isAssociated(javacard.framework.AID SDAID)
This method allows to verify if the entity whose AID is provided in the input parameters is registered as the associated Security Domain of this GPRegistryEntry. |
boolean |
isPrivileged(byte bPrivilege)
This method allows an Application (e.g. a CVM Application) to verify if a given Privilege is registered in this GPRegistryEntry (e.g. check the CVM Management privilege of another Application invoking the CVM.update() method). |
void |
registerService(short sServiceName)
This method allows a Global Services Application (e.g. a CVM Application) to register a unique service identifier within the GlobalPlatform Registry. |
boolean |
setState(byte bState)
This method allows the Life Cycle state of this GPRegistryEntry to be transitioned to the requested target state. |
| Field Detail |
|---|
static final byte PRIVILEGE_AUTHORIZED_MANAGEMENT
static final byte PRIVILEGE_CARD_LOCK
static final byte PRIVILEGE_CARD_RESET
static final byte PRIVILEGE_CARD_TERMINATE
static final byte PRIVILEGE_CVM_MANAGEMENT
static final byte PRIVILEGE_DAP_VERIFICATION
static final byte PRIVILEGE_DELEGATED_MANAGEMENT
static final byte PRIVILEGE_FINAL_APPLICATION
static final byte PRIVILEGE_GLOBAL_DELETE
static final byte PRIVILEGE_GLOBAL_LOCK
static final byte PRIVILEGE_GLOBAL_REGISTRY
static final byte PRIVILEGE_GLOBAL_SERVICE
static final byte PRIVILEGE_MANDATED_DAP
static final byte PRIVILEGE_RECEIPT_GENERATION
static final byte PRIVILEGE_SECURITY_DOMAIN
static final byte PRIVILEGE_TOKEN_VERIFICATION
static final byte PRIVILEGE_TRUSTED_PATH
static final byte PRIVILEGE_CIPHERED_LOAD_FILE_DATA_BLOCK
| Method Detail |
|---|
void deregisterService(short sServiceName)
throws javacard.framework.ISOException
Notes:
sServiceName - the unique service name to deregister.
javacard.framework.ISOException - with the following reason code:
ISO7816.SW_CONDITIONS_NOT_SATISFIEDjavacard.framework.AID getAID()
Notes:
AID object.
short getPrivileges(byte[] baBuffer,
short sOffset)
throws java.lang.ArrayIndexOutOfBoundsException
baBuffer - The byte array where Privileges bytes are to be stored.sOffset - The offset in baBuffer at which to begin the Privileges bytes.
java.lang.ArrayIndexOutOfBoundsException - byte getState()
boolean isAssociated(javacard.framework.AID SDAID)
Notes:
SDAID - object of the investigated Security Domain.
boolean isPrivileged(byte bPrivilege)
bPrivilege - the privilege number to verify, as defined in Table 6-1.
void registerService(short sServiceName)
throws javacard.framework.ISOException
Notes:
sServiceName - the unique service name to register.
javacard.framework.ISOException - with the following reason code:
ISO7816.SW_CONDITIONS_NOT_SATISFIEDboolean setState(byte bState)
Notes:
bState - the target state for this GPRegistryEntry.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||